package com.common.utils.tools.generator;

public class UserGenerator {
    public static void main(String[] args) {
        //生成的表
        String [] tableNames = new String[]{"u_user","u_staff"};
        //去除前缀
        String [] tablePrefix = new String[]{"u_"};
        //包名
        String name = "user";
        //生成的项目地址
        String projectName = "cloud-user-all";
        //生成对应模块代码的地址
        String [] modules = new String[]{"cloud-user-service","cloud-user-mapper","cloud-user-domain"};//项目模块名，需自定义
        for (String module : modules) {
            BaseGenerator.moduleGenerator(module,tableNames,projectName,tablePrefix,name);
        }
    }
}
